package com.easygoods.entityex;

import com.bestvike.stone.core.collection.KeyedCollection;

/**
 * Created by 许崇雷 on 2019-01-04.
 */
public class GoodsSkuSpecValueCollection extends KeyedCollection<String, GoodsSkuSpecValue> {
    /**
     * 获取元素的键
     *
     * @param goodsSkuSpecValue 元素
     * @return 键
     */
    @Override
    protected String getKeyForItem(GoodsSkuSpecValue goodsSkuSpecValue) {
        return goodsSkuSpecValue.getSpecId();
    }
}
